package cn.scau.server.dto;

import cn.scau.server.pojo.ApplicationItemRecords;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

@ApiModel(value="用来作搜索项的实体",description = "既可以搜个人的，又可以搜部门的")
public class SearchRecordsDTO {
    @ApiModelProperty(value="员工工号", required = false)
    private String empId;

    @ApiModelProperty(value="申请类型", required = false)
    private Integer flowId;

    @ApiModelProperty(value="员工/领导部门号", required = false)
    private Integer deptId;

    @ApiModelProperty(value="是不是领导", required = false)
    private Integer isLeader;

    @ApiModelProperty(value="查询开始时间", required = true)
    private Date startTime;

    @ApiModelProperty(value="查询结束时间", required = true)
    private Date endTime;

    public String getEmpId() {
        return empId;
    }

    public void setEmpId(String empId) {
        this.empId = empId;
    }

    public Integer getFlowId() {
        return flowId;
    }

    public void setFlowId(Integer flowId) {
        this.flowId = flowId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getIsLeader() {
        return isLeader;
    }

    public void setIsLeader(Integer isLeader) {
        this.isLeader = isLeader;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
